home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / System7 tools / AppleScript / Script Tools 1.3.sit / Script Tools / Examples / Quit All Applications < prev    next >
MacBinary  |  1993-09-10  |  1.5 KB  |  [TEXT/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Quit All Applications

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Sep 10 22:47:50 1993, modified Fri Sep 10 22:47:50 1993, creator 'ToyS', type ASCII, 729 bytes "Quit All Applications" , at 0x359 629 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 51 75 69 74 20 41 | 6c 6c 20 41 70 70 6c 69 |..Quit A|ll Appli|
|00000010| 63 61 74 69 6f 6e 73 00 | 00 00 00 00 00 00 00 00 |cations.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 01 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 02 d9 00 | 00 02 75 a8 b6 ec d6 a8 |........|..u.....|
|00000060| b6 ec d6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 31 96 00 00 |........|....1...|
|00000080| 2d 2d 0d 2d 2d 09 54 68 | 69 73 20 73 63 72 69 70 |--.--.Th|is scrip|
|00000090| 74 20 61 73 6b 73 20 61 | 6c 6c 20 74 68 65 20 6e |t asks a|ll the n|
|000000a0| 6f 6e 2d 65 73 73 65 6e | 74 69 61 6c 20 61 70 70 |on-essen|tial app|
|000000b0| 6c 69 63 61 74 69 6f 6e | 73 20 72 75 6e 6e 69 6e |lication|s runnin|
|000000c0| 67 20 6f 6e 20 79 6f 75 | 72 20 4d 61 63 69 6e 74 |g on you|r Macint|
|000000d0| 6f 73 68 20 74 6f 0d 2d | 2d 09 71 75 69 74 2e 20 |osh to.-|-.quit. |
|000000e0| 20 54 68 65 20 70 72 6f | 70 65 72 74 79 20 61 70 | The pro|perty ap|
|000000f0| 70 73 54 6f 4b 65 65 70 | 20 6c 69 73 74 73 20 74 |psToKeep| lists t|
|00000100| 68 6f 73 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |hose app|lication|
|00000110| 73 20 79 6f 75 20 63 6f | 6e 73 69 64 65 72 20 65 |s you co|nsider e|
|00000120| 73 73 65 6e 74 69 61 6c | 0d 2d 2d 0d 0d 70 72 6f |ssential|.--..pro|
|00000130| 70 65 72 74 79 20 61 70 | 70 73 54 6f 4b 65 65 70 |perty ap|psToKeep|
|00000140| 20 3a 20 7b 22 46 69 6e | 64 65 72 22 2c 20 22 45 | : {"Fin|der", "E|
|00000150| 79 65 73 22 2c 20 22 4d | 6f 6e 69 74 6f 72 22 7d |yes", "M|onitor"}|
|00000160| 0d 0d 73 65 74 20 61 70 | 70 4c 69 73 74 20 74 6f |..set ap|pList to|
|00000170| 20 6c 69 73 74 20 70 72 | 6f 63 65 73 73 65 73 0d | list pr|ocesses.|
|00000180| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 66 72 |repeat w|ith i fr|
|00000190| 6f 6d 20 31 20 74 6f 20 | 63 6f 75 6e 74 20 6f 66 |om 1 to |count of|
|000001a0| 20 61 70 70 4c 69 73 74 | 0d 09 73 65 74 20 61 70 | appList|..set ap|
|000001b0| 70 4e 61 6d 65 20 74 6f | 20 69 74 65 6d 20 69 20 |pName to| item i |
|000001c0| 6f 66 20 61 70 70 4c 69 | 73 74 0d 09 73 65 74 20 |of appLi|st..set |
|000001d0| 61 70 70 49 6e 66 6f 20 | 74 6f 20 67 65 74 20 70 |appInfo |to get p|
|000001e0| 72 6f 63 65 73 73 20 61 | 70 70 4e 61 6d 65 0d 09 |rocess a|ppName..|
|000001f0| 69 66 20 6e 6f 74 20 6f | 6e 6c 79 42 61 63 6b 67 |if not o|nlyBackg|
|00000200| 72 6f 75 6e 64 20 6f 66 | 20 61 70 70 49 6e 66 6f |round of| appInfo|
|00000210| 20 74 68 65 6e 0d 09 09 | 73 65 74 20 73 6b 69 70 | then...|set skip|
|00000220| 49 74 20 74 6f 20 66 61 | 6c 73 65 0d 09 09 72 65 |It to fa|lse...re|
|00000230| 70 65 61 74 20 77 69 74 | 68 20 6a 20 66 72 6f 6d |peat wit|h j from|
|00000240| 20 31 20 74 6f 20 63 6f | 75 6e 74 20 6f 66 20 61 | 1 to co|unt of a|
|00000250| 70 70 73 54 6f 4b 65 65 | 70 0d 09 09 09 69 66 20 |ppsToKee|p....if |
|00000260| 61 70 70 4e 61 6d 65 20 | 3d 20 28 69 74 65 6d 20 |appName |= (item |
|00000270| 6a 20 6f 66 20 61 70 70 | 73 54 6f 4b 65 65 70 29 |j of app|sToKeep)|
|00000280| 20 74 68 65 6e 0d 09 09 | 09 09 73 65 74 20 73 6b | then...|..set sk|
|00000290| 69 70 49 74 20 74 6f 20 | 74 72 75 65 0d 09 09 09 |ipIt to |true....|
|000002a0| 09 65 78 69 74 20 72 65 | 70 65 61 74 0d 09 09 09 |.exit re|peat....|
|000002b0| 65 6e 64 20 69 66 0d 09 | 09 65 6e 64 20 72 65 70 |end if..|.end rep|
|000002c0| 65 61 74 0d 09 09 0d 09 | 09 69 66 20 6e 6f 74 20 |eat.....|.if not |
|000002d0| 73 6b 69 70 49 74 20 61 | 6e 64 20 61 70 70 4e 61 |skipIt a|nd appNa|
|000002e0| 6d 65 20 ad 20 28 67 65 | 74 20 63 75 72 72 65 6e |me . (ge|t curren|
|000002f0| 74 20 70 72 6f 63 65 73 | 73 29 20 74 68 65 6e 0d |t proces|s) then.|
|00000300| 09 09 09 74 65 6c 6c 20 | 61 70 70 6c 69 63 61 74 |...tell |applicat|
|00000310| 69 6f 6e 20 61 70 70 4e | 61 6d 65 0d 09 09 09 09 |ion appN|ame.....|
|00000320| 61 63 74 69 76 61 74 65 | 0d 09 09 09 09 71 75 69 |activate|.....qui|
|00000330| 74 0d 09 09 09 65 6e 64 | 20 74 65 6c 6c 0d 09 09 |t....end| tell...|
|00000340| 65 6e 64 20 69 66 0d 09 | 65 6e 64 20 69 66 0d 65 |end if..|end if.e|
|00000350| 6e 64 20 72 65 70 65 61 | 74 00 00 00 00 00 00 00 |nd repea|t.......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 02 1b | 00 00 01 1b 00 00 00 5a |........|.......Z|
|00000390| 6a 00 46 ad aa 30 89 00 | 64 07 50 94 00 16 55 4f |j.F..0..|d.P...UO|
|000003a0| d1 6d 40 10 2f 08 3f 3c | 13 88 d4 6d 46 42 a7 42 |.m@./.?<|...mFB.B|
|000003b0| 15 51 75 69 74 20 41 6c | 6c 20 41 70 70 6c 69 63 |.Quit Al|l Applic|
|000003c0| 61 74 69 6f 6e 73 02 00 | 00 00 54 45 58 54 54 6f |ations..|..TEXTTo|
|000003d0| 00 00 54 45 58 54 54 6f | 79 53 01 00 00 d0 00 00 |..TEXTTo|yS......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a8 b6 6a 5f 00 00 | 02 d9 00 00 02 75 27 0a |....j_..|.....u'.|
|00000400| 3f 07 30 15 0a d1 6d 10 | 28 00 4d 04 00 53 00 d1 |?.0...m.|(.M..S..|
|00000410| 6d 44 00 11 40 00 4d 60 | 0a 67 ce 55 40 67 82 13 |mD..@.M`|.g.U@g..|
|00000420| d0 d0 01 d6 4c df 00 c0 | 67 af 70 db 11 98 08 39 |....L...|g.p....9|
|00000430| f0 15 00 30 4a 00 40 2c | fd ad 67 0c 2f 2c 00 08 |...0J.@,|..g./,..|
|00000440| 2f 3c 18 00 04 80 4c 4a | 08 00 ac fd a6 c0 30 6c |/<....LJ|......0l|
|00000450| fd a6 20 50 42 a8 00 52 | 2f 2c fd 20 42 a6 4e ad |.. PB..R|/,. B.N.|
|00000460| 03 da c0 0d ec a8 73 d1 | 85 48 7a 0b 1a d0 69 82 |......s.|.Hz...i.|
|00000470| 83 40 ab 06 d1 b3 59 4f | 70 04 2f d0 22 01 9a 28 |.@....YO|p./."..(|
|00000480| 00 00 00 bf 51 75 69 74 | 20 41 6c 6c 20 45 78 61 |....Quit| All Exa|
|00000490| 6d 70 6c 65 73 20 45 78 | 61 6d 70 6c 65 0d 43 6f |mples Ex|ample.Co|
|000004a0| 70 79 72 69 67 68 74 20 | a9 20 31 39 39 33 20 4d |pyright |. 1993 M|
|000004b0| 61 72 6b 20 41 6c 6c 64 | 72 69 74 74 0d 41 6c 6c |ark Alld|ritt.All|
|000004c0| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|000004d0| 0d 0d 54 68 69 73 20 73 | 63 72 69 70 74 20 69 6c |..This s|cript il|
|000004e0| 6c 75 73 74 72 61 74 65 | 73 20 68 6f 77 20 74 6f |lustrate|s how to|
|000004f0| 20 75 73 65 20 74 68 65 | 20 53 63 72 69 70 74 20 | use the| Script |
|00000500| 54 6f 6f 6c 73 20 4c 69 | 73 74 20 50 72 6f 63 65 |Tools Li|st Proce|
|00000510| 73 73 65 73 2c 20 47 65 | 74 20 50 72 6f 63 65 73 |sses, Ge|t Proces|
|00000520| 73 20 61 6e 64 20 47 65 | 74 20 43 75 72 72 65 6e |s and Ge|t Curren|
|00000530| 74 20 50 72 6f 63 65 73 | 73 20 63 6f 6d 6d 61 6e |t Proces|s comman|
|00000540| 64 73 2e 00 00 00 3e 00 | 03 00 00 00 00 00 0c 00 |ds....>.|........|
|00000550| 09 00 10 00 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 4c 00 0e 00 0a 00 10 00 | 00 00 0c 00 00 00 00 00 |L.......|........|
|00000570| 00 00 00 00 4e 00 0c 00 | 09 00 16 00 00 00 0a 00 |....N...|........|
|00000580| 00 00 00 00 00 00 00 00 | 12 00 46 00 03 03 10 02 |........|..F.....|
|00000590| 16 00 46 00 03 02 25 02 | 69 00 00 00 00 01 00 00 |..F...%.|i.......|
|000005a0| 00 02 1b 00 00 01 1b 00 | 00 00 5a 00 5f 62 58 09 |........|..Z._bX.|
|000005b0| ec 00 00 00 1c 00 5a 00 | 02 54 45 58 54 00 00 00 |......Z.|.TEXT...|
|000005c0| 1a 73 74 79 6c 00 00 00 | 26 57 50 6f 73 00 00 00 |.styl...|&WPos...|
|000005d0| 32 04 68 ff ff 00 00 00 | 00 00 5f 60 38 04 68 ff |2.h.....|.._`8.h.|
|000005e0| ff 00 00 00 c3 00 5f 60 | 30 00 80 ff ff 00 00 01 |......_`|0.......|
|000005f0| 05 00 5f 60 40 00 00 00 | 00 00 00 00 00 00 00 00 |.._`@...|........|
+--------+-------------------------+-------------------------+--------+--------+